<form id="add-form" class="form-horizontal" role="form" data-toggle="validator" method="POST" action="">


    <div class="form-group">
                <div class="col-xs-12 col-sm-8">
                    <input id="c-good_id" class="form-control" name="row[good_id]" type="hidden" value="{$good_id}">
                </div>
    </div>

    <div class="form-group">
        <label class="control-label col-xs-12 col-sm-2">{:__('搭配商品')}:</label>
        <div class="col-xs-12 col-sm-8">
            <div class="input-group">
                <input id="id" class="form-control" size="50" name="row[id]" type="text" value="">
                    <div class="input-group-addon no-border no-padding">
                        <span><button type="button" href="{:url('goods.collocation/selectgoods')}" id="select-goods" class="btn btn-primary" data-input-id="c-image" data-multiple="false" data-preview-id="p-image"><i class="fa fa-list"></i> {:__('Choose')}</button></span>
                    </div>
                <span class="msg-box n-right" for="c-image"></span>
            </div>
            <ul class="row list-inline plupload-preview" id="pre-goods" data-template="desctpl" data-name="row[desc]"></ul>
        </div>
    </div>
    <div class="form-group">
        <label class="control-label col-xs-12 col-sm-2">{:__('Goods_name')}:</label>
        <div class="col-xs-12 col-sm-8">
            <input id="c-original_shop_price" class="form-control" step="0.01" name="row[goods_name]" type="text">
        </div>
    </div>

    <div class="form-group">
        <label class="control-label col-xs-12 col-sm-2">{:__('Preferential')}:</label>
        <div class="col-xs-12 col-sm-8">
            <input id="c-preferential" class="form-control" step="0.01" name="row[preferential]" type="number" value="0.00">
        </div>
    </div>
    <!--<div class="form-group">-->
    <!--    <label class="control-label col-xs-12 col-sm-2">{:__('Mark_price')}:</label>-->
    <!--    <div class="col-xs-12 col-sm-8">-->
    <!--        <input id="c-mark_price" class="form-control" step="0.01" name="row[mark_price]" type="number" value="0.00">-->
    <!--    </div>-->
    <!--</div>-->
    <!--<div class="form-group">-->
    <!--    <label class="control-label col-xs-12 col-sm-2">{:__('Commodity_price')}:</label>-->
    <!--    <div class="col-xs-12 col-sm-8">-->
    <!--        <input id="c-commodity_price" class="form-control" step="0.01" name="row[commodity_price]" type="number" value="0.00">-->
    <!--    </div>-->
    <!--</div>-->
    <!--<div class="form-group">-->
    <!--    <label class="control-label col-xs-12 col-sm-2">{:__('Agency_price')}:</label>-->
    <!--    <div class="col-xs-12 col-sm-8">-->
    <!--        <input id="c-agency_price" class="form-control" step="0.01" name="row[agency_price]" type="number" value="0.00">-->
    <!--    </div>-->
    <!--</div>-->

    <div class="form-group layer-footer">
        <label class="control-label col-xs-12 col-sm-2"></label>
        <div class="col-xs-12 col-sm-8">
            <button type="submit" class="btn btn-primary btn-embossed disabled">{:__('OK')}</button>
            <button type="reset" class="btn btn-default btn-embossed">{:__('Reset')}</button>
        </div>
    </div>
</form>
